<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <div class="mc">
        <div>
            <div class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </div>
            <div class="mc-m">
                <div class="navToggle"></div>
            </div>
            <div class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="APP自然统计">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                                <div class="toolbor-module search">
                                 	<div class="formTit">起始日期：</div>
                                    <input class="_search-value" name="startTime" id="startTime" value="${startTime}" onclick="change_picktime()"/>
                                    <div class="formTit">截止日期：</div>
                                    <input class="_search-value" name="endTime" id="endTime" value="${endTime}" onclick="change_picktime()"/>
                                    <input type="button" value="搜索"  class="input-button" onclick="searchResult();">
                                </div>
                            </div>
                            <!--工具栏--}-->
                            <div id="main" class="clearfix">
                                <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                       		<td>日期</td>
                                            <td>注册用户数</td>
                                            <td>充值用户数</td>
                                            <td>充值金额</td> 
                                            <td>购买用户数</td>
                                            <td>购买金额</td>
                                        </tr>
                                        <#if list??>
                                        <#list list as item>
                                            <tr class="s">
                                                <td>${item.searchTime}</td>
                                                <td>${item.registerNum!0}</td>
                                                <td>${item.rechargeNum!0}</td>
                                                <td>${item.rechargeTotal!0}元</td>
                                                <td>${item.buyNum!0}</td>
                                                <td>${item.buyTotal!0}元</td>
                                            </tr>
                                        </#list>
                                        </#if>
                                    </table>
                                </form>

                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>
                                 <!--翻页系统--{-->
                                 <!-- 
                                   
                                    -->
                                    <!--翻页系统--}-->
                                </div>
                                <!--底部工具栏--}-->
                                
                                
                                <script>
                                    var url = 'queryNatureInfo.html?search=true';
                                    function searchResult(){
                                        var startTime = $("#startTime").val();
                                        var endTime = $("#endTime").val();
                                        if (startTime!=null&&startTime!=""&&startTime!="undefine"){
                                            url += "&startTime="+startTime;
                                        }
                                        if (endTime!=null&&endTime!=""&&endTime!="undefine"){
                                            url += "&endTime="+endTime;
                                        }
                                        location.href=url;
                                    }
                                </script>
                            </div>

            </div>
        </div>
        <div>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </div>
    </div>

    </body>
</html>
<#include "../jsPage.html">
